package com.example.codegen;

public class CallStatement implements Statement {
    public CallExpression callExpression;

    public CallStatement(CallExpression callExpression) {
        this.callExpression = callExpression;
    }

    public String toJava() {
        return callExpression.toJava() + ";";
    }

    public String toGo() {
        return callExpression.toGo();
    }

    @Override
    public String toJs() {
        return callExpression.toJs() + ";";
    }

    @Override
    public String toCSharp() {
        return callExpression.toCSharp() + ";";
    }

    public String toCJ() {
        return callExpression.toCJ();
    }
}
